package com.webbei.shoppingCar.service.impl;

import java.util.List;

import com.webbei.pojo.Customer;
import com.webbei.pojo.Customs;
import com.webbei.pojo.Orders;
import com.webbei.shoppingCar.dao.shoppingCarDao;
import com.webbei.shoppingCar.service.shoppingCarService;

public class shoppingCarServiceImpl implements shoppingCarService{
	private shoppingCarDao shopDao;
	
	public shoppingCarDao getShopDao() {
		return shopDao;
	}

	public void setShopDao(shoppingCarDao shopDao) {
		this.shopDao = shopDao;
	}

	public Customer getCustomerByUserName(String userName) {
		return shopDao.getCustomerByUserName(userName);
	}

	public Customs getCustomsById(Integer id) {
		return shopDao.getCustomsById(id);
	}

	public Orders getOrdersById(Integer id) {
		return shopDao.getOrdersById(id);
	}
	
	

}
